hibernate: Disable when the kernel is locked down
authorJosh Boyer <jwboyer@fedoraproject.org>
Wed, 5 Apr 2017 16:40:30 +0000 (17:40 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 1 Oct 2017 14:52:09 +0000 (15:52 +0100)
commit7a8fd8ed3eae475094f7b9868a5ebeb37299810b
treef4356b5c35c4bedc036418f78d260f702c83bb54
parent05e30be63a7af72f4f42112e39f9aef2b8ff0432
hibernate: Disable when the kernel is locked down

There is currently no way to verify the resume image when returning
from hibernate.  This might compromise the signed modules trust model,
so until we can work with signed hibernate images we disable it when the
kernel is locked down.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0047-hibernate-Disable-when-the-kernel-is-locked-down.patch
kernel/power/hibernate.c